﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 销售订单发货计划中间表
    /// </summary>
    [Table(TableName = "ttddev117101")]
    public class tddev117
    {

        public string GUID { get; set; }
        /// <summary>
        /// 采购订单
        /// </summary>
        public string orno { get; set; }
        /// <summary>
        /// 行号
        /// </summary>
        public int pono { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int seqn { get; set; }
        /// <summary>
        /// 物料代码
        /// </summary>
        public string item { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string cwar { get; set; }

        public string loca { get; set; }
        /// <summary>
        /// 核准数量
        /// </summary>
        public decimal qapa { get; set; }
        /// <summary>
        /// 核准单位
        /// </summary>
        public string apun { get; set; }
        /// <summary>
        /// 损坏数量
        /// </summary>
        public decimal qdes { get; set; }
        /// <summary>
        /// 损坏原因
        /// </summary>
        public string resd { get; set; }
        /// <summary>
        /// 拒收数量
        /// </summary>
        public decimal qrjr { get; set; }
        /// <summary>
        /// 拒收原因
        /// </summary>
        public string resn { get; set; }
   
        /// <summary>
        /// 中间表状态
        /// </summary>
        public int host { get; set; }

        /// <summary>
        /// ERP 处理信息
        /// </summary>
        public string mess { get; set; }
        /// <summary>
        /// WMS写入日期
        /// </summary>
        public DateTime? edte1 { get; set; }
        /// <summary>
        /// ERP读取日期
        /// </summary>
        public DateTime? wdte1 { get; set; }
        /// <summary>
        /// ERP处理日期
        /// </summary>
        public DateTime? wdte2{ get; set; }

        public int REFCNTD { get; set; }

        public int REFCNTU { get; set; }

        public string ncrf { get; set; }
    }
}
